package com.woniuxy.woniubook;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableCaching
@EnableRabbit
@EnableTransactionManagement
public class WoniubookApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(WoniubookApplication.class, args);
        }catch (Exception e) {
            e.printStackTrace();
        }

    }
}